package com.examination.exam.service;

import com.examination.domain.exam.entity.Question;
import org.bson.conversions.Bson;

import java.util.List;

public interface QuestionService {
    Question getQuestionById(Object id);

    void addQuestion(Question question);

    List<Question> getQuestionByQuery(Bson query);

    long updateQuestion(Bson filter, Bson bson);

    boolean removeById(Long id);
}
